-- GENERATED SPELL FOR [Vilebranch Kidnapper] --


function spell0_14748(pUnit, Event) --@Execute,n/a--
pUnit:FullCastSpellOnTarget(7160,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14748', 0, 1)
end

function Sorts_14748(pUnit, Event)
local choix_sorts_14748 = math.random(0, 0)
if choix_sorts_14748 == 0 then
pUnit:RegisterEvent('spell0_14748', 1, 1)
end
end

function mob14748_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14748', math.random(1500, 3000), 1)
end

function mob14748_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14748_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14748_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14748, 1, 'mob14748_Action')
RegisterUnitEvent(14748, 2, 'mob14748_Leave')
RegisterUnitEvent(14748, 3, 'mob14748_Kill')
RegisterUnitEvent(14748, 4, 'mob14748_Die')
